from random import randint


class Die():

    def __init__(self, num_point=6):
        self.num_point = num_point

    def roll(self):
        return randint(1, self.num_point)